package cc.messcat.dao.helpTeam;

import java.util.List;
import java.util.Map;

import cc.messcat.entity.AreaVO;
import cc.messcat.entity.helpPerson.HelpPerson;
import cc.messcat.entity.helpUnits.HelpTeam;
import cc.messcat.entity.helpUnits.HelpTeamPerson;

public interface HelpTeamDao {
    HelpTeam getTeamByCondition(HelpTeam team);

    @Deprecated
    List<HelpTeamPerson> getPersonByCondition(HelpTeamPerson helpTeamPerson);
    
    List<HelpTeamPerson> getPersonByCondition(Integer pageNo ,Integer pageSize,HelpTeamPerson helpTeamPerson,String areaCode,Map<String,String> condition);

    List<HelpTeamPerson> getPersonByVillageIds(HelpTeamPerson helpTeamPerson, Long[] villageIds);

    List<HelpPerson> getHelpPresonsNotInTeam(Long unitId, Long villageId);

    List<HelpTeamPerson> getPersonsByCondition(HelpTeamPerson helpTeamPerson, AreaVO areaVO);

	List<Map<String, Object>> getHelpTeamPersonByPoorVillage(Long id);
}
